﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using RoboTrocity;

namespace RoboTrocity {
	class Prop : GameObject {

		bool isActivated;

		public Prop() : 
			this(Point.Zero) { }

		public Prop(Point _position)
			: base(_position) {
		}

		public void activate() { //obviously this needs to be changed
			if (isActivated) {
				this.setPositionX(Position.X + 10);
			} else {
				this.setPositionX(Position.X - 10);
			}
			isActivated = !isActivated;
		}

		public override void collideWith(GameObject gameObject) {

		}

		public override void Update(float elapsed) { }
	}
}
